package com.example;

import lombok.SneakyThrows;
import lombok.Value;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.net.InetAddress;

@SpringBootApplication
@Slf4j
public class DemoMybatisplusApplication {
    @SneakyThrows
    public static void main(String[] args) {
        SpringApplication.run(DemoMybatisplusApplication.class, args);
        log.info("项目启动成功...");
        String hostAddress = InetAddress.getLocalHost().getHostAddress();
        log.info("URL地址："+hostAddress+":8088/pages/books.html");
    }

}